﻿<Window x:Class="HellCook.WinApp_WPF.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        WindowStyle="ToolWindow"
        Title="Hell Cook" mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" Height="534" Width="916" Loaded="Window_Loaded" >
    <Window.Background>
        <ImageBrush ImageSource="/HellCook.WinApp_WPF;component/Images/mantel3.jpg"/>
    </Window.Background>
    <Grid>
        <Button Content="Administrador de ingredientes" Height="33" HorizontalAlignment="Left" Margin="10,415,0,0" Name="button_AdministradorIngrediente" VerticalAlignment="Top" Width="225" Click="button1_Click" FontFamily="Times New Roman" FontSize="15" FontWeight="Bold" Foreground="White">
        	<Button.Background>
        		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
        			<GradientStop Color="Black" Offset="0"/>
        			<GradientStop Color="#FFBE2A2A" Offset="1"/>
        		</LinearGradientBrush>
        	</Button.Background>
        </Button>
        <Button Content="Administrador de recetas" Height="33" HorizontalAlignment="Left" Margin="10,453,0,0" Name="button_AdministradorRreceta" VerticalAlignment="Top" Width="226" Click="button2_Click" FontFamily="Times New Roman" FontSize="15" FontWeight="Bold" Foreground="White">
        	<Button.Background>
        		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
        			<GradientStop Color="Black" Offset="0"/>
        			<GradientStop Color="#FFF14141" Offset="1"/>
        		</LinearGradientBrush>
        	</Button.Background>
        </Button>
        <Menu Height="23" Name="menu_Principal" VerticalAlignment="Top">
            <MenuItem Header="Ingredientes" FontWeight="Bold">
                <MenuItem Header="Nuevo ingrediente" FontWeight="Bold" Click="MenuItemNewIngredient" />
                <MenuItem Header="Buscar y/o modificar ingrediente" FontWeight="Bold" Click="MenuItemSeachIngredient" />
            </MenuItem>
            <MenuItem Header="Receta" FontWeight="Bold">
                <MenuItem Header="Nueva receta" FontWeight="Bold" Click="newRecipe" />
                <MenuItem Header="Buscar y/o modificar receta" FontWeight="Bold" Click="MenuSearchRecipe"/>
            </MenuItem>            
            <MenuItem Header="Salir" FontWeight="Bold" Click="MenuItem_Click">                
            </MenuItem>
        </Menu>
        <DataGrid Name="ListaIngredientes_Mensual" SelectionMode="Single" AlternatingRowBackground="LightBlue" Background="LightGray" RowBackground="LightYellow" BorderBrush="Gray" BorderThickness="5" IsReadOnly="True" HorizontalAlignment="Left" Margin="10,77,0,0" VerticalAlignment="Top" Height="257" Width="280" SelectionChanged="ListaIngredientes_Mensual_SelectionChanged"/>
        <DataGrid Name="ListaIngredientes_Semanal" SelectionMode="Single" AlternatingRowBackground="LightBlue" BorderBrush="Gray" Background="LightGray" RowBackground="LightYellow" BorderThickness="5" IsReadOnly="True" HorizontalAlignment="Left" Margin="309,77,0,0" VerticalAlignment="Top" Height="255" Width="280" SelectionChanged="ListaIngredientes_Semanal_SelectionChanged"/>
        <DataGrid Name="ListaIngredientes_Diario" SelectionMode="Single" AlternatingRowBackground="LightBlue" BorderBrush="Gray" Background="LightGray" RowBackground="LightYellow" BorderThickness="5" IsReadOnly="True" HorizontalAlignment="Left" Margin="607,79,0,0" VerticalAlignment="Top" Height="255" Width="280" SelectionChanged="ListaIngredientes_Diario_SelectionChanged"/>
        <Label Content="Lista de compras mensuales" FontWeight="Bold" Name="Label_Mensual" HorizontalAlignment="Left" Margin="10,46,0,0" VerticalAlignment="Top" Width="280" Foreground="White" FontSize="14" />
        <Label Content="Lista de compras semanales" FontWeight="Bold" Name="Label_Semanal" HorizontalAlignment="Left" Margin="309,46,0,0" VerticalAlignment="Top" Width="280" Foreground="White" FontSize="14" />
        <Label Content="Lista de compras diarias" FontWeight="Bold" Name="Label_Diario" HorizontalAlignment="Left" Margin="607,46,0,0" VerticalAlignment="Top" Width="280" Foreground="White" FontSize="14" />
        <Button FontWeight="Bold" Content="Crear menu semanal" Name="Boton_MenuSemanal" HorizontalAlignment="Left" Margin="680,443,0,0" VerticalAlignment="Top" Width="210" Height="43" Click="Boton_MenuSemanal_Click" Foreground="White">
        	<Button.Background>
        		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
        			<GradientStop Color="Black" Offset="0"/>
        			<GradientStop Color="#FF6789CC" Offset="1"/>
        		</LinearGradientBrush>
        	</Button.Background>
        </Button>
        <Button Content="Administrar menu semanal" FontWeight="Bold" Height="43" HorizontalAlignment="Left" Margin="680,389,0,0" Name="button_AdministrarMenuSemanal" VerticalAlignment="Top" Width="210" Click="button1_Click_1" Foreground="White">
        	<Button.Background>
        		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
        			<GradientStop Color="Black" Offset="0"/>
        			<GradientStop Color="#FF7082CA" Offset="1"/>
        		</LinearGradientBrush>
        	</Button.Background>
        </Button>
        <Button Content="Imprimir" IsEnabled="False" Name="Button_ImprimirListaComprasDiarias" HorizontalAlignment="Left" Margin="771,339,0,0" VerticalAlignment="Top" Width="116" Click="Button_ImprimirListaComprasDiarias_Click" Foreground="White">
        	<Button.Background>
        		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
        			<GradientStop Color="Black" Offset="0"/>
        			<GradientStop Color="#FF5658CC" Offset="1"/>
        		</LinearGradientBrush>
        	</Button.Background>
        </Button>
        <Button Content="Imprimir" IsEnabled="False" Name="Button_ImprimirListaComprasMensual" HorizontalAlignment="Left" Margin="174,339,0,0" VerticalAlignment="Top" Width="116" Click="Button_ImprimirListaComprasMensual_Click" Foreground="White">
        	<Button.Background>
        		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
        			<GradientStop Color="Black" Offset="0"/>
        			<GradientStop Color="#FF5658CC" Offset="1"/>
        		</LinearGradientBrush>
        	</Button.Background>
        </Button>
        <Button Content="Imprimir" IsEnabled="False" Name="Button_ImprimirListaComprasSemanal" HorizontalAlignment="Left" Margin="473,339,0,0" VerticalAlignment="Top" Width="116" Click="Button_ImprimirListaComprasSemanal_Click" Foreground="White">
        	<Button.Background>
        		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
        			<GradientStop Color="Black" Offset="0"/>
        			<GradientStop Color="#FF5658CC" Offset="1"/>
        		</LinearGradientBrush>
        	</Button.Background>
        </Button>
        <Button Content="Actualizar lista de compras" Height="43" HorizontalAlignment="Left" Margin="442,443,0,0" x:Name="button_ActualizarListaDeCompras" VerticalAlignment="Top" Width="221" FontFamily="Times New Roman" FontSize="15" FontWeight="Bold" Foreground="White" Click="button_ActualizarListaDeCompras_Click">
            <Button.Background>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="Black" Offset="0"/>
                    <GradientStop Color="#FFF14141" Offset="1"/>
                </LinearGradientBrush>
            </Button.Background>
        </Button>
    </Grid>
</Window>
